package com.schoolcloud.serve.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serial;
import java.io.Serializable;
import lombok.Data;

/**
 * sku属性值表（销售属性）
 * @TableName sku_sale_attr_value
 */
@TableName(value ="sku_sale_attr_value")
@Data
public class SkuSaleAttrValue implements Serializable {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Integer valueId;

    /**
     *
     */
    private Integer skuId;

    /**
     *
     */
    private Integer attrId;

    /**
     *
     */
    private String attrName;

    /**
     *
     */
    private String attrValue;

    /**
     *
     */
    private String attrSort;

    @Serial
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
